<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title>后盾微博-首页</title>
    <link rel="stylesheet" href="__HOME__/css/nav.css" />
    <link rel="stylesheet" href="__HOME__/css/bottom.css" />
    <!--加载首页样式 START-->
    {if condition="($Request.controller == 'Index' && $Request.action == 'index') || ($Request.controller == 'User')"}
    <link rel="stylesheet" href="__HOME__/css/index.css" />
    {/if}
    <!--加载首页样式 END-->

    <!--个人中心 修改资料 START-->
    {if condition="$Request.controller eq 'Userinfo'"}
    <link rel="stylesheet" href="__HOME__/css/edit.css" />
    {/if}
    <!--个人中心 修改资料 END-->

    <!--用户个人中心 START-->
    {if condition="$Request.controller == 'User' && $Request.action == 'index' "}
    <link rel="stylesheet" href="__HOME__/css/user.css" />
    {/if}
    <!--用户个人中心 END-->

    <!--@我的 和 我的收藏 START-->
    {if condition="$Request.controller == 'Atme' || $Request.controller == 'Keep' "}
    <link rel="stylesheet" href="__HOME__/css/weibo_list.css" />
    {/if}
    <!--@我的 END-->

    <!--我的评论 START-->
    {if condition="$Request.controller == 'Comment'"}
    <link rel="stylesheet" href='__HOME__/css/comment.css'/>
    {/if}
    <!--我的评论 END-->

    <!--我的私信 START-->
    {if condition="$Request.controller == 'Inbox'"}
    <link rel="stylesheet" href='__HOME__/css/letter.css'/>
    {/if}
    <!--我的私信 END-->

    <script type="text/javascript" src='__HOME__/js/jquery-1.8.3.min.js'></script>
    <!--加载layer-->
    <script src="__PLUGINS__/layer/layer.js"></script>
    <!--上传头像 控件加载 START-->
    <link rel="stylesheet" href="__PLUGINS__/uploadify/uploadify.css" />
    <script type="text/javascript" src="__PLUGINS__/uploadify/jquery.uploadify.min.js"/>
    <!--上传头像 控件加载 END-->
    <script type="text/javascript">
        var uploadify_swfUrl = "__PLUGINS__/uploadify/uploadify.swf";
        var faceUrl = "{:url('home/userinfo/uploadify_face')}";//用户中心上传头像处理地址
    </script>

</head>
<body>
<!--==========顶部固定导行条==========-->
<div id='top_wrap'>
    <div id="top">
        <div class='top_wrap'>
            <div class="logo fleft"></div>
            <ul class='top_left fleft'>
                <li class='cur_bg'><a href='/'>首页</a></li>
                <li><a href="{:url('home/inbox/index')}">私信</a></li>
                <li><a href="{:url('home/comment/index')}">评论</a></li>
                <li><a href="{:url('home/atme/index')}">@我</a></li>
            </ul>
            <div id="search" class='fleft'>
                <form action="{:url('home/search/sech_user')}" method='get'>
                    <input type='text' name='keyword' id='sech_text' class='fleft' value="<?php echo isset($_GET['keyword'])?$_GET['keyword']:'搜索微博、找人'?>"/>
                    <input type='submit' value='' id='sech_sub' class='fleft'/>
                </form>
            </div>
            <div class="user fleft"><a href="/uid/{$user_CM_Data['uid']}.html">{$user_CM_Data['username']}</a></div>
            <ul class='top_right fleft'>
                <li title='快速发微博' class='fast_send'><i class='icon icon-write'></i></li>
                <li class='selector'><i class='icon icon-msg'></i>
                    <ul class='hidden'>
                        <li><a href="{:url('home/comment/index')}">查看评论</a></li>
                        <li><a href="{:url('home/inbox/index')}">查看私信</a></li>
                        <li><a href="{:url('home/keep/index')}">查看收藏</a></li>
                        <li><a href="{:url('home/atme/index')}">查看@我</a></li>
                    </ul>
                </li>
                <li class='selector'><i class='icon icon-setup'></i>
                    <ul class='hidden'>
                        <li><a href="{:url('home/userinfo/index')}">帐号设置</a></li>
                        <li><a href="">模版设置</a></li>
                        <li><a href="{:url('home/login/loginOut')}">退出登录</a></li>
                    </ul>
                </li>
                <!--信息推送-->
                <li id='news' class='hidden'>
                    <i class='icon icon-news'></i>
                    <ul>
                        <li class='news_comment hidden'>
                            <a href=""></a>
                        </li>
                        <li class='news_letter hidden'>
                            <a href=""></a>
                        </li>
                        <li class='news_atme hidden'>
                            <a href=""></a>
                        </li>
                    </ul>
                </li>
                <!--信息推送-->
            </ul>
        </div>
    </div>
</div>
<!--==========顶部固定导行条==========-->


<!--==========加关注弹出框==========-->
<div id='follow'>
    <div class="follow_head">
        <span class='follow_text fleft'>关注好友</span>
    </div>
    <div class='sel-group'>
        <span>好友分组：</span>
        <select name="gid">
            <option value="0">默认分组</option>
            {if condition="$group_data"}
            {foreach $group_data as $v}
            <option value="{$v['id']}">{$v['name']}</option>
            {/foreach}
            {/if}
        </select>
    </div>
    <div class='fl-btn-wrap'>
        <input type="hidden" name='follow' value=""/>
        <input type="hidden" name='oid' id="userinfo-id" value=""/>
        <input type="hidden" name='type' id="cp-type" value=""/>
        <span class='add-follow-sub' url="{:url('home/index/follow')}">关注</span>
        <span class='follow-cencle'>取消</span>
    </div>
</div>
<!--==========加关注弹出框==========-->
